package edu.sctu.liangyuxiang.day20150510.test1;

import edu.sctu.liangyuxiang.day20150510.test1.TextOne;
import edu.sctu.liangyuxiang.day20150510.test1.TextThree;

/**
 * Created by user06 on 2015/5/10.
 */
public class TextTwo {
    public int sum = 0;
    public TextOne getString(TextThree textthree){
        TextOne testone = new TextOne();
        for (int i = 0; i <textthree.number ; i++) {
            sum+=i;
            testone.number = sum;
        }

        return testone;
    }
}
